package model.recipe;

import org.springframework.web.multipart.MultipartFile;

public class RecipeVO {
	private int r_no;
	private String r_user;
	private String r_type;
	private String r_writer;
	private String r_title;
	private MultipartFile r_uploadFile;
	private String r_img_origin;
	private String r_img_new;
	private String r_img_thum;
	private String r_comment;
	private int r_cnt;
	private int r_mcnt;
	private String r_main_ingre;
	private String r_sub_ingre;
	private int r_totalGrade;
	private float r_grade;
	private int r_gcnt;
	private String r_date;
	private String m_id;
	public RecipeVO() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "RecipeVO [r_no=" + r_no + ", r_user=" + r_user + ", r_type="
				+ r_type + ", r_writer=" + r_writer + ", r_title=" + r_title
				+ ", r_uploadFile=" + r_uploadFile + ", r_img_origin="
				+ r_img_origin + ", r_img_new=" + r_img_new + ", r_img_thum="
				+ r_img_thum + ", r_comment=" + r_comment + ", r_cnt=" + r_cnt
				+ ", r_mcnt=" + r_mcnt + ", r_main_ingre=" + r_main_ingre
				+ ", r_sub_ingre=" + r_sub_ingre + ", r_totalGrade="
				+ r_totalGrade + ", r_grade=" + r_grade + ", r_gcnt=" + r_gcnt
				+ ", r_date=" + r_date + ", m_id=" + m_id + "]";
	}
	public RecipeVO(int r_no, String r_user, String r_type, String r_writer,
			String r_title, MultipartFile r_uploadFile, String r_img_origin,
			String r_img_new, String r_img_thum, String r_comment, int r_cnt,
			int r_mcnt, String r_main_ingre, String r_sub_ingre,
			int r_totalGrade, float r_grade, int r_gcnt, String r_date,
			String m_id) {
		super();
		this.r_no = r_no;
		this.r_user = r_user;
		this.r_type = r_type;
		this.r_writer = r_writer;
		this.r_title = r_title;
		this.r_uploadFile = r_uploadFile;
		this.r_img_origin = r_img_origin;
		this.r_img_new = r_img_new;
		this.r_img_thum = r_img_thum;
		this.r_comment = r_comment;
		this.r_cnt = r_cnt;
		this.r_mcnt = r_mcnt;
		this.r_main_ingre = r_main_ingre;
		this.r_sub_ingre = r_sub_ingre;
		this.r_totalGrade = r_totalGrade;
		this.r_grade = r_grade;
		this.r_gcnt = r_gcnt;
		this.r_date = r_date;
		this.m_id = m_id;
	}
	public int getR_no() {
		return r_no;
	}
	public void setR_no(int r_no) {
		this.r_no = r_no;
	}
	public String getR_user() {
		return r_user;
	}
	public void setR_user(String r_user) {
		this.r_user = r_user;
	}
	public String getR_type() {
		return r_type;
	}
	public void setR_type(String r_type) {
		this.r_type = r_type;
	}
	public String getR_writer() {
		return r_writer;
	}
	public void setR_writer(String r_writer) {
		this.r_writer = r_writer;
	}
	public String getR_title() {
		return r_title;
	}
	public void setR_title(String r_title) {
		this.r_title = r_title;
	}
	public MultipartFile getR_uploadFile() {
		return r_uploadFile;
	}
	public void setR_uploadFile(MultipartFile r_uploadFile) {
		this.r_uploadFile = r_uploadFile;
	}
	public String getR_img_origin() {
		return r_img_origin;
	}
	public void setR_img_origin(String r_img_origin) {
		this.r_img_origin = r_img_origin;
	}
	public String getR_img_new() {
		return r_img_new;
	}
	public void setR_img_new(String r_img_new) {
		this.r_img_new = r_img_new;
	}
	public String getR_img_thum() {
		return r_img_thum;
	}
	public void setR_img_thum(String r_img_thum) {
		this.r_img_thum = r_img_thum;
	}
	public String getR_comment() {
		return r_comment;
	}
	public void setR_comment(String r_comment) {
		this.r_comment = r_comment;
	}
	public int getR_cnt() {
		return r_cnt;
	}
	public void setR_cnt(int r_cnt) {
		this.r_cnt = r_cnt;
	}
	public int getR_mcnt() {
		return r_mcnt;
	}
	public void setR_mcnt(int r_mcnt) {
		this.r_mcnt = r_mcnt;
	}
	public String getR_main_ingre() {
		return r_main_ingre;
	}
	public void setR_main_ingre(String r_main_ingre) {
		this.r_main_ingre = r_main_ingre;
	}
	public String getR_sub_ingre() {
		return r_sub_ingre;
	}
	public void setR_sub_ingre(String r_sub_ingre) {
		this.r_sub_ingre = r_sub_ingre;
	}
	public int getR_totalGrade() {
		return r_totalGrade;
	}
	public void setR_totalGrade(int r_totalGrade) {
		this.r_totalGrade = r_totalGrade;
	}
	public float getR_grade() {
		return r_grade;
	}
	public void setR_grade(float r_grade) {
		this.r_grade = r_grade;
	}
	public int getR_gcnt() {
		return r_gcnt;
	}
	public void setR_gcnt(int r_gcnt) {
		this.r_gcnt = r_gcnt;
	}
	public String getR_date() {
		return r_date;
	}
	public void setR_date(String r_date) {
		this.r_date = r_date;
	}
	public String getM_id() {
		return m_id;
	}
	public void setM_id(String m_id) {
		this.m_id = m_id;
	}
	
}
